package com.twu.biblioteca.library;

public class LibraryNumber {
    private int firstNumber;
    private int secondNumber;

    public LibraryNumber(int firstNumber, int secondNumber) {
        this.firstNumber = firstNumber;
        this.secondNumber = secondNumber;
    }

    public String getLibraryNumber() {
        return firstNumber + "-" + secondNumber;
    }

    public void increaseLibraryNumber() {
        secondNumber++;
    }
}
